<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<%@include file="/common/meta.jsp"%>
<script type="text/javascript" src="${ctx}/scripts/fckeditor/fckeditor.js"></script>
<%@include file="/common/validator.jsp"%>

<script type="text/javascript">
  //文本编辑组件
  /**
  function preFckEditor(){
		var fckEditor = new FCKeditor( 'content' ) ;
	    fckEditor.BasePath = "${ctx}/scripts/fckeditor/";
	    //fckEditor.ToolbarSet = 'Basic';
	    fckEditor.ToolbarSet = 'Default';
	    fckEditor.Height = 360;
	    fckEditor.Width = 720;
	    fckEditor.ReplaceTextarea();
  }
  */
</script>
</head>
<body>
<div class="x-panel" style="width: 100%">
<div class="x-panel-header">单位信息</div>
<div align="center" style="padding-top:10px;">
  <div style="width:550px;">
	<%@ include file="/common/messages.jsp"%>
  </div>
  <fieldset style="width:550px;">
    <legend>编辑单位信息</legend>
	  <s:form action="save.do" id="save" method="post">
	    <s:hidden name="model.id" />
	    <table width="550" border="0">
		  <tr>
			<td align="right" width="100">单位名称：</td>
			<td width="450">
			  <s:textfield id="name" name="model.name" size="60" maxlength="50"/>
			  <font color="red">&nbsp;*</font>
			</td>
		  </tr>
		  <tr>
		    <td align="right" width="100">联系电话： </td>
		    <td>
		      <s:textfield id="phone" name="model.phone" size="60" maxlength="50"/>
		    </td>
		  </tr>
          <tr>
            <td align="right">单位地址：</td>
            <td>
              <s:textfield id="address" name="model.address" size="60" maxlength="255"/>
            </td>  
          </tr>		
		  <tr>
			<td align="right">描述信息：</td>
			<td align="left">
			  <s:textarea id="descn" name="model.descn" cols="62" rows="3"/>
			</td>
		  </tr>
		  <tr>
		    <td colspan="2" align="center">
			  <s:submit value="保存" 	cssClass="button" /> 
			  &nbsp;&nbsp;
			  <s:reset value="重置" cssClass="button" />
		    </td>
		  </tr>
		</table>
	  </s:form>
	</fieldset>
</div>
</div>

<script type="text/javascript">
$(document).ready(function() {
$("#save").validate();
});
</script>
</body>
</html>